package mn.idax.exchange.otc.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class AccountTransaction implements Serializable {
    private Long num;

    private String id;

    private Integer accountid;

    private Integer userid;

    private Integer transactiontype;

    private BigDecimal availablechange;

    private BigDecimal frozenchange;

    private BigDecimal accountavailableamount;

    private BigDecimal accountfrozenamount;

    private BigDecimal accountamount;

    private String remark;

    private String coincode;

    private Date createtime;

    private Date updatetime;
    public AccountTransaction() {
    }

    public AccountTransaction(Integer accountid, Integer userid, Integer transactiontype, BigDecimal availablechange, BigDecimal frozenchange, BigDecimal accountavailableamount, BigDecimal accountfrozenamount, BigDecimal accountamount, String remark, String coincode, Date createtime, Date updatetime) {
        this.accountid = accountid;
        this.userid = userid;
        this.transactiontype = transactiontype;
        this.availablechange = availablechange;
        this.frozenchange = frozenchange;
        this.accountavailableamount = accountavailableamount;
        this.accountfrozenamount = accountfrozenamount;
        this.accountamount = accountamount;
        this.remark = remark;
        this.coincode = coincode;
        this.createtime = createtime;
        this.updatetime = updatetime;
    }


    private static final long serialVersionUID = 1L;

    public Long getNum() {
        return num;
    }

    public void setNum(Long num) {
        this.num = num;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public Integer getAccountid() {
        return accountid;
    }

    public void setAccountid(Integer accountid) {
        this.accountid = accountid;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getTransactiontype() {
        return transactiontype;
    }

    public void setTransactiontype(Integer transactiontype) {
        this.transactiontype = transactiontype;
    }

    public BigDecimal getAvailablechange() {
        return availablechange;
    }

    public void setAvailablechange(BigDecimal availablechange) {
        this.availablechange = availablechange;
    }

    public BigDecimal getFrozenchange() {
        return frozenchange;
    }

    public void setFrozenchange(BigDecimal frozenchange) {
        this.frozenchange = frozenchange;
    }

    public BigDecimal getAccountavailableamount() {
        return accountavailableamount;
    }

    public void setAccountavailableamount(BigDecimal accountavailableamount) {
        this.accountavailableamount = accountavailableamount;
    }

    public BigDecimal getAccountfrozenamount() {
        return accountfrozenamount;
    }

    public void setAccountfrozenamount(BigDecimal accountfrozenamount) {
        this.accountfrozenamount = accountfrozenamount;
    }

    public BigDecimal getAccountamount() {
        return accountamount;
    }

    public void setAccountamount(BigDecimal accountamount) {
        this.accountamount = accountamount;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getCoincode() {
        return coincode;
    }

    public void setCoincode(String coincode) {
        this.coincode = coincode == null ? null : coincode.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }
}